<template>
  <ant-modal
    modalWidth="800"
    modalHeight="550"
    :visible="open"
    :modal-title="formTitle"
    :adjust-size="true"
    @cancel="cancel"
  >
    <a-form-model
      ref="form"
      :model="form"
      :rules="rules"
      slot="content"
      layout="vertical"
    >
      <a-row :gutter="32">
        <a-col :span="12">
          <a-form-model-item label="撞库电话" prop="originPhone">
            <a-input v-model="form.originPhone" placeholder="请输入撞库电话" />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="电话位数" prop="originLength">
            <a-input-number
              v-model="form.originLength"
              :min="0"
              style="width: 100%"
            />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="撞库来源" prop="originLaiyuan">
            <a-input
              v-model="form.originLaiyuan"
              placeholder="请输入撞库来源"
            />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="客户来源" prop="laiyuan">
            <a-input v-model="form.laiyuan" placeholder="请输入客户来源" />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="电话" prop="phone">
            <a-input v-model="form.phone" placeholder="请输入电话" />
          </a-form-model-item>
        </a-col>
      </a-row>
    </a-form-model>
    <template slot="footer">
      <a-button @click="cancel"> 取消 </a-button>
      <a-button type="primary" @click="submitForm"> 保存 </a-button>
    </template>
  </ant-modal>
</template>
<script>
import BizZhuangkuLogAddForm from "./BizZhuangkuLogForm";
export default {
  ...BizZhuangkuLogAddForm,
};
</script>
